package modelLayer;

public abstract class Person {
//Id is CPR of current person
private String Id;
private String name;
private String address;
private String phoneNumber;

public Person(String Id, String name, String address, String phoneNumber)
{
	this.Id = Id;
	this.name = name;
	this.address = address;
	this.phoneNumber = phoneNumber;
}

public String getId() {
	return Id;
}

public void setId(String id) {
	Id = id;
}

public String getName() {
	return name;
}

public void setName(String name) {
	this.name = name;
}

public String getAddress() {
	return address;
}

public void setAddress(String address) {
	this.address = address;
}

public String getPhoneNumber() {
	return phoneNumber;
}

public void setPhoneNumber(String phoneNumber) {
	this.phoneNumber = phoneNumber;
}

@Override
public String toString() {
	return "[Id=" + Id + ", name=" + name + ", address=" + address
			+ ", phoneNumber=" + phoneNumber + ", ";
}
	
	
}
